﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>永和网络家电进销存综合管理系统　SQL For NET Version - 用户登陆</title>
    <meta http-equiv='Content-Type' content='text/html; charset=gb2312' />
    <link rel="stylesheet" type="text/css" href='css/adminCss.css' />

    <script type="text/javascript">
//定义当前需用软键盘的表单和控件的名称 
var curEditName 
curEditName="form1.Password"

function Reset(){
	form1.name.value="";
	form1.password.value="";
}

function onkey(){
	if(event.keyCode==13)event.keyCode=9;
}

function checksubmit()
 {
  if(form1.name.value=="")
   {   
   alert("请输入您的用户名");
   form1.name.focus();
   return false;
   }
   
   if(form1.password.value=="")
   {   
   alert("请输入您的密码");
   form1.password.focus();
   return false;
   }
   
   if(form1.CodeStr.value=="")
   {   
   alert("请输入您的难证码");
   form1.CodeStr.focus();
   return false;
   }
   if((form1.name.value!="")&&(form1.password.value!=""))
   {
       return true;
   }

 }
    </script>

</head>
<body style="overflow: hidden">
    <form id="form1" runat="server">
        <table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0"  id="__01">
            <tr>
                <td align="center" background="images/Login11_03.jpg" style="height:143px">
                    <img src="images/Login_topbar.jpg" alt=""/></td>
            </tr>
            <tr>
                <td align="center" valign="top" bgcolor="#0C77D9">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" background="images/Login11_05.jpg">
                        <tr>
                            <td align="center">
                                <table width="1003" height="309" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td valign="top" background="images/Login_middlebar.jpg">
                                            <table width="1003" height="278" border="0" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td height="127" colspan="2">&nbsp;
                                                  </td>
                                                </tr>
                                                <tr align="left">
                                                    <td width="430px" height="34">&nbsp;
                                                  </td>
                                                    <td width="560px" height="34">
                                                        用户名：&nbsp;
                                                        <asp:TextBox ID="txtUserName" Style="width: 140px;" size="19" MaxLength="16" runat="server"
                                                            CssClass="bdlogin"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr align="left">
                                                    <td height="26">&nbsp;
                                                  </td>
                                                    <td height="26">
                                                        密&nbsp;&nbsp;码：&nbsp;
                                                        <asp:TextBox ID="txtPwd" TextMode="password" runat="server" size="19" MaxLength="16"   CssClass="bdlogin" Width="140px"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr align="left">
                                                    <td height="25">&nbsp;
                                                  </td>
                                                    <td height="25" >
                                                        验证码：&nbsp;
                                                        <asp:TextBox ID="txtCode" CssClass="bdlogin" Width="55px" runat="server" MaxLength="16"></asp:TextBox>&nbsp;<asp:Image id="Image1" runat="server" ImageUrl="GetImageCode.aspx" ImageAlign="AbsBottom"></asp:Image>
                                                    </td>
                                                </tr>
                                                <tr align="left">
                                                    <td height="44">&nbsp;
                                                  </td>
                                                    <td style="padding-left: 53px;">
                                                        <asp:ImageButton ID="ImageLogin" runat="server" EnableTheming="True" ImageUrl="images/login.gif" OnClick="ImageLogin_Click" />
                                                        &nbsp;
                                                      
                                                         <asp:ImageButton ID="ImageButton2" runat="server" EnableTheming="True" ImageUrl="images/quxiao.gif"  /></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="2">&nbsp;
                                                  </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td height="20" background="HXIMAGES/Login_03_02.gif">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td height="26" style="background-image: url(IMAGES/LoginCopyright.jpg); text-align: center;
                                color: #fff;">
                                &nbsp;&nbsp; CopyRight&copy;永和网络 Ver3.0 All Rights Reserved &nbsp;&nbsp;服务电话：021 &nbsp;&nbsp;当前IP：<asp:Label ID="lblIp" runat="server"></asp:Label></td>
                        </tr>
                    </table>
                </td>
            </tr>
        <asp:HiddenField ID="Hidvalue" runat="server" />
</table>
</form>
<%--    <script type="text/javascript">
    document.getElementById("txtUserName").focus();
    document.getElementById("imgcode").src="vlipage.aspx?t=" + new Date().toString();
    document.oncontextmenu = function(){return false;}
    document.onkeydown = keyEvent;
    function keyEvent()
    {
        if(event.keyCode==13)
        {
            document.getElementById("ImageLogin").click();
        }
    }
    </script>--%>

</body>
</html>
